package com.kun.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("附件表")
public class Attachment {

    @ApiModelProperty("附件id")
    private Integer id;
    @ApiModelProperty("附件名称")
    private String name;
    @ApiModelProperty("附件类型")
    private String type;
    @ApiModelProperty("附件大小")
    private Long size;
    @ApiModelProperty("附件访问路径")
    private String url;
    @ApiModelProperty("是否删除")
    private Boolean isDelete;
    @ApiModelProperty("是否启用")
    private Boolean enable;
    @ApiModelProperty("文件的md5：用于判断文件是否相同")
    private String fileMd5;

}
